package cn.stylefeng.guns.modular.User.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.stylefeng.guns.core.pojo.base.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
@TableName("org")
public class UserOrg extends BaseEntity {

    @TableId("id")
    @Excel(name="编号",width = 20)
    private Long id;

    @TableField("pid")
    @Excel(name="父id",width = 20)
    private int pid;

    @TableField("name")
    @Excel(name="姓名",width = 20)
    private String name;

    @TableField("remark")
    @Excel(name ="描述",width = 20)
    private String remark;

    @TableField("status")
    @Excel(name = "状态",width = 20)
    private Integer status;


}
